package com.hskn.hss.module.grid.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hskn.hss.entity.TreeEntity;
import com.hskn.hss.module.carTrack.entity.CarTrack;
import com.hskn.hss.module.grid.entity.Grid;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hskn
 * @since 2021-05-08
 */
public interface GridMapper extends BaseMapper<Grid> {

    List<TreeEntity> getGridTree(@Param("type") Integer type, @Param("gridType") Integer gridType);

    List<TreeEntity> getGridTree(@Param("type") Integer type, @Param("gridType") Integer gridType,@Param("isEnable") Integer isEnable);


}
